package com.sip.stream.gbstack;


import com.sip.stream.gbstack.Model.GS28181AlarmNotifyConfig;
import com.sip.stream.gbstack.Model.GS28181CatalogNotifyConfig;
import com.sip.stream.gbstack.Model.GS28181ExpiredNotifyConfig;
import com.sip.stream.gbstack.Model.GS28181PosNotifyConfig;

public interface GS28181AlwaysListener {
    void onError(int i, String message);
    void onQueryDeviceCatalog(long sessionHandle);
    void onQueryDeviceInfo(long sessionHandle);
    void onQueryStatus(long sessionHandle);
    void onSubscribeAlarmNotify(GS28181AlarmNotifyConfig gS28181AlarmNotifyConfig);
    void onSubscribeCatalogNotify(GS28181CatalogNotifyConfig gS28181CatalogNotifyConfig);
    void onSubscribeExpiredNotify(GS28181ExpiredNotifyConfig gS28181ExpiredNotifyConfig);
    void onSubscribePosNotify(GS28181PosNotifyConfig gS28181PosNotifyConfig);
    int onTransDataNotify(String data, int i);
    void syncDevTime(long time);
}
